import { BrowserModule } from '@angular/platform-browser'; 
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';


import { AppComponent } from './app.component';

import { FormsModule } from '@angular/forms';
import { RouterModule } from "@angular/router";
import { LoginComponent } from './login/login.component';
import { AppRoutes } from './app.routes';
import { SharedModule } from './shared/shared.module';
import { MyProloadingStrategy } from './common/my-proloading-strategy';
import { AuthService } from './services/auth.service';
import { MyAuthGuard } from './common/my-auth-guard';


@NgModule({
  declarations: [
    AppComponent,
    LoginComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    SharedModule,
    AppRoutes
  ],
  providers: [MyProloadingStrategy, AuthService, MyAuthGuard],
  bootstrap: [AppComponent]
})
export class AppModule { }
